
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ICNT8952AN_H
#define __ICNT8952AN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Set Multi-touch as supported */
#if !defined(TS_MONO_TOUCH_SUPPORTED)
#define TS_MULTI_TOUCH_SUPPORTED        0
#endif /* TS_MONO_TOUCH_SUPPORTED */

/* Includes ------------------------------------------------------------------*/
#include "TouchScreen.h"

#if (TOUCH_TYPE == TOUCH_ICNT8952)

  /* I2C Slave address of touchscreen FocalTech FT5336 */
#define ICNT8952_I2C_SLAVE_ADDRESS            ((uint8_t)0x90)

  /* Maximum border values of the touchscreen pad */
#define ICNT8952_MAX_WIDTH                  ((uint16_t)480)     /* Touchscreen pad max width   */
#define ICNT8952_MAX_HEIGHT                 ((uint16_t)480)     /* Touchscreen pad max height  */

#define ICNT8952_ID_REG                  	((uint16_t)0x000A)

#define ICNT8952_POINTER_REG                ((uint16_t)0x1000)


void 	Touch_Init(void);
void 	Touch_Reset(void);
UINT8	Touch_ReadVersion(void);
UINT16	Touch_ReadID(void);
UINT8 	Touch_ReadCoord(Coord *coord);


#endif

#ifdef __cplusplus
}
#endif
#endif /* __FT5336_H */


